function confirmSubmit(text) {
var agree=confirm(text);
if (agree)
    return true ;
else
    return false ;
}

